NET_SDK_SetDeviceIP¶
Interface Definition¶
1 2 3 4 5 6 7 8 | |
1 2 3 4 5 6 7 8 | |
Function Description¶
Set the device IP address.
Parameter Description¶
| Parameters | Type | Remark |
|---|---|---|
| macin | const char* | The MAC address of the device. |
| passwordin | const char* | Device administrator password |
| ipAddrin | const char* | IP address to set |
| netmaskin | const char* | Subnet mask to set |
| gatewayin | const char* | Gateway to set |
| DNSServer1in | const char* | The preferred DNS server to set up |
| DNSServer2in | const char* | Alternative DNS server to set up |
Return Value¶
-
Type:BOOL
-
Remark:Returns TRUE if successful, FALSE if failed.
Remarks¶
None